package com.nmsl.mapper;

import com.nmsl.domain.GyfEmployee;

import java.sql.Date;
import java.util.List;

/**
* @author Lenovo
* @description 针对表【employee(员工列表)】的数据库操作Mapper
* @createDate 2025-02-15 10:36:35
* @Entity com.nmsl.domain.GyfEmployee
*/
public interface GyfEmployeeMapper {

    int GyfdeleteByPrimaryKey(Long id);

    int Gyfinsert(GyfEmployee record);

    int GyfinsertSelective(GyfEmployee record);

    GyfEmployee GyfselectByPrimaryKey(Long id);

    int GyfupdateByPrimaryKeySelective(GyfEmployee record);

    int GyfupdateByPrimaryKey(GyfEmployee record);



    //根据科室，和日期，查出当天值班的医生信息111

    List<GyfEmployee> select(int departmentId, Date scheduledata);

    //根据医生的id和医生的排班日期，查出这个医生当天的一天的明细
    GyfEmployee selectTimeByidAndDate(int employeeId, Date date);


    //根据医生的id 查出这个医生具体的信息，排班
    List<GyfEmployee> selectByEmployeeId(int employeeId);


    //根据医生的id,查出医生的姓名,职位
    GyfEmployee selectNameAndJobById(int employeeId);




}
